import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store';

import ElementPlus from 'element-plus';
import 'element-plus/theme-chalk/index.css';

import zhCn from 'element-plus/es/locale/lang/zh-cn'

import 'bootstrap/dist/css/bootstrap.min.css';
import "bootstrap-icons/font/bootstrap-icons.css";

// import * as bootstrap from 'bootstrap'

import '@/assets/css/global.css'
import '@/assets/css/ruoyi.scss'
import '@/assets/css/index.scss'




const app = createApp(App)

app.use(scroll)
// app.use(bootstrap)
app.use(ElementPlus, { zhCn })
app.use(router) //注册路由
app.use(store) //注册状态管理
app.mount('#app')
